/*
 * @Author: pjji
 * @describe: 
 * @LastEditTime: 2020-12-03 15:44:25
 */
import Vue from 'vue'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'

import iView from 'iview';
import 'iview/dist/styles/iview.css'

// loading
import Loading from '@/assets/js/loading';

//cookie
// 全局配置cookie，组件调用方式：this.$cookies
import cookies from 'vue-cookies'
Vue.prototype.$cookies = cookies; 
//配置cookies生命周期，单位不区分大小写

import 'default-passive-events'

import jquery from 'jquery';
window.$ = window.jQuery = window.jquery = jquery;
Vue.prototype.$ = Vue.prototype.jQuery = Vue.prototype.$ = jquery;



import API from './api'

Vue.use(Loading);
Vue.use(iView);
Vue.use(ElementUI);
Vue.use(API);



Vue.config.productionTip = false //阻止启动生产消息，常用作指令